<html>
<head><meta charset="utf-8"><title>Polonius for rust-analyzer · t-compiler/wg-polonius · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/186049-t-compiler/wg-polonius/index.html">t-compiler/wg-polonius</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/186049-t-compiler/wg-polonius/topic/Polonius.20for.20rust-analyzer.html">Polonius for rust-analyzer</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228065354"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/186049-t-compiler/wg-polonius/topic/Polonius%20for%20rust-analyzer/near/228065354" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Will Crichton <a href="https://rust-lang.github.io/zulip_archive/stream/186049-t-compiler/wg-polonius/topic/Polonius.20for.20rust-analyzer.html#228065354">(Feb 27 2021 at 15:40)</a>:</h4>
<p>Question for the Polonius team: I'm interested in building a <a href="https://en.wikipedia.org/wiki/Program_slicing">program slicer</a> for Rust, ideally integrated into rust-analyzer (see <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Program.20slicing.20in.20RA/near/228018712">this thread</a>).</p>
<p>Program slicing requires alias analysis / borrow checking, and RA has not implemented these features. Someone pointed out that I could consider using Polonius as a substitute borrow checker. Does that seem even remotely feasible right now?</p>



<a name="228067290"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/186049-t-compiler/wg-polonius/topic/Polonius%20for%20rust-analyzer/near/228067290" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Vytautas Astrauskas [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/186049-t-compiler/wg-polonius/topic/Polonius.20for.20rust-analyzer.html#228067290">(Feb 27 2021 at 16:16)</a>:</h4>
<p>I have replied to the original thread.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>